P and Q were partners in a firm sharing profits in the ratio of 5:3